package com.kitbox.hl.meshow.entity.data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 分页返回数据封装模型
 * 
 * @author  vic
 * @version  [1.0, 2017年8月3日]
 * @since  [anpotech/1.0]
 */
public class DataGrid implements Serializable {
	
	
	private static final long serialVersionUID = 4291255916099545645L;
	/** 查询结果总数 */
	private Integer total = 0;
	/** 当前页 */
	private int page = 1;
	/** 总页数 */
	private int totalPage = 0;
	/** 查询列表 */
	private List<?> rows = new ArrayList<Object>();
	
	private Map<String, Object> extDataMap = new HashMap<String, Object>();

	public Map<String, Object> getExtDataMap() {
		return extDataMap;
	}

	public void setExtDataMap(Map<String, Object> extDataMap) {
		this.extDataMap = extDataMap;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public List<?> getRows() {
		return rows;
	}

	public void setRows(List<?> rows) {
		this.rows = rows;
	}

}
